Skip to content

docs(template): add Nix dev environment to PROJECT_TEMPLATE#56

Merged
jasoet merged 1 commit intomainfrom
docs/project-template-nix
Mar 30, 2026
Merged

docs(template): add Nix dev environment to PROJECT_TEMPLATE#56
jasoet merged 1 commit intomainfrom
docs/project-template-nix

Conversation

@jasoet
Copy link
Copy Markdown
Owner

@jasoet jasoet commented Mar 30, 2026

Summary

  • Adds new Section 0: Dev Environment Setup covering three-layer tool strategy (Homebrew/Nix/Podman), flake.nix Go service template, Pattern A Taskfile integration, and why go-task stays global
  • Updates directory layouts (module-based and flat) to include flake.nix, flake.lock, .envrc
  • Rewrites Taskfile section with {{.N}} (nix develop -c) prefix pattern and adds nix:check/nix:update tasks
  • Adds Dev Environment rules (4 items) to the architecture checklist

Based on conventions documented in the Nix Development Environment knowledge base note.

Test plan

  • Review Section 0 content matches vault note conventions
  • Verify directory layout trees include Nix files
  • Verify Taskfile example uses {{.N}} prefix consistently
  • Verify checklist numbering is sequential (1-31)

Add Section 0 (Dev Environment Setup) covering three-layer tool strategy,
flake.nix template, Taskfile Pattern A (nix develop -c prefix), and why
go-task stays global. Update directory layouts to include flake.nix,
flake.lock, .envrc. Rewrite Taskfile section with {{.N}} prefix pattern.
Add Dev Environment rules to architecture checklist.
@jasoet jasoet merged commit 8d90241 into main Mar 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant